#include<stdio.h>
#include<unistd.h>
 
int main()
{
         int count = 3;
              while (count >= 0)
              {
                           printf("%d\r", count);
                                    fflush(stdout);
                                             count--;
                                                      sleep(1);
                                                           
              }
                   printf("\n");
                        return 0;

}
